package top.zsyle.sycc.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import top.zsyle.sycc.domain.Course;
import top.zsyle.sycc.domain.CourseDetail;
import top.zsyle.sycc.domain.CourseMarket;
import top.zsyle.sycc.domain.CourseResource;

import javax.validation.Valid;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CourseDto {

    @Valid
    private Course course;
    @Valid
    private CourseDetail courseDetail;
    @Valid
    private CourseMarket courseMarket;
    @Valid
    private CourseResource courseResource;
    @Valid
    private List<Long> teacherIds;
}
